package com.xmzs.midjourney.domain.bo;

import com.xmzs.midjourney.domain.MjRoom;
import com.xmzs.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * MJ创作会话业务对象 mj_room
 *
 * @author Lion Li
 * @date 2023-08-09
 */
@Data
@AutoMapper(target = MjRoom.class, reverseConvertGenerate = false)
public class MjRoomBo implements Serializable {

    /**
     *
     */
    @NotNull(message = "不能为空")
    private Long id;

    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * MJ服务器ID
     */
    @NotNull(message = "MJ服务器ID不能为空")
    private String mjGuildId;

    /**
     * 截止有效期
     */
    @NotNull(message = "截止有效期不能为空")
    private Date expirationDate;


}
